\setupdelimitedtext[blockquote][left=‘,right=’]
> \startblockquote Hello world! \stopblockquote
> “Hello world!”\\
> «Hello world!»\\
> ‘Hello world!’\\
> \startquote Hello world! \stopquote\\
> \quote{Hello world!}\\
> \stoptext
>
> The text stream seems to have an additional
\setupquotation[left=«,right=»]
\startquotation Hello world! \stopquotation
\setupquotation[left=‘,right=’]
\startquotation Hello world! \stopquotation
\setupdelimitedtext[blockquote][left=‘,right=’]
\startblockquote Hello world! \stopblockquote
“Hello world!”\\
«Hello world!»\\
‘Hello world!’\\
\startquote Hello
Am 04.09.2020 um 16:04 schrieb Taco Hoekwater :
> \definenarrower[myquote]
> \setupnarrower[myquote]
> [left=2em,
> right=1.5em,
> before=\dontleavehmode\hskip-0.33em\startquote,
> after=\stopquote]
>
> \startmyquote
> Im übrigen ist der Mensch ein Lebewesen,
> Am 04.09.2020 um 16:04 schrieb Taco Hoekwater :
>
> Something like this?
>
> \definenarrower[myquote]
> \setupnarrower[myquote]
> [left=2em,
> right=1.5em,
> before=\dontleavehmode\hskip-0.33em\startquote,
> after=\stopquote]
>
> \startmyquote
>
Something like this?
\definenarrower[myquote]
\setupnarrower[myquote]
[left=2em,
right=1.5em,
before=\dontleavehmode\hskip-0.33em\startquote,
after=\stopquote]
\startmyquote
Im übrigen ist der Mensch ein Lebewesen, das klopft, schlechte Musik macht und
seinen Hund bellen läßt
On 7/12/2017 7:43 AM, Henri Menke wrote:
Dear list,
the example below throws an error.
\def\typo_delimited_repeat_indeed (n missing)
Cheers, Henri
---
\setupdelimitedtext[quote][repeat=yes]
\starttext
\startquote
\stopquote
\stoptext
---
tex error > tex error on line 4 in f
Dear list,
the example below throws an error.
Cheers, Henri
---
\setupdelimitedtext[quote][repeat=yes]
\starttext
\startquote
\stopquote
\stoptext
---
tex error > tex error on line 4 in file /home/henri/test.mkvi: !
Undefined control sequence
...\flushpostponednoded
, then you may define another
start-stop.
Here would be my suggestion, which gives a syntax that is a bit more
ConTeXt-like, I feel (but the coding can probably be improved):
\def\startQuote%
{\dosingleempty\dostartQuote}
\def\dostartQuote[#1]%
{\blank [line]
\iffirstargument
Hello,
quotation is linked to quote. Indeed, we have in typo-del.mkiv
\definedelimitedtext
[\v!quote][\v!quotation]
However, when the user then changes options using \setupquotation,
\startquote\stopquote also gets modified. In the minimal example below,
it is necessary to uncomment
[8.5pt]\setupinterlinespace[line=10.5pt]},after={\stopnarrower}]
\starttext
Test {\ss text} test\footnote{text {\ss text} test} test.
\startquote
test {\ss text} \input ward \par
\stopquote
\stoptext
---
Steffen
like to
achieve ...
accession
Action Plan
association
But none of the four methods (before, after, first, last) gives this result!!
What is wrong?
Methods were rewritten to give more flexibility. From the Hans' explanation:
\startquote
[pzm][mc] = [plus|zero|minus offsets
of the four methods (before, after, first, last) gives this result!!
What is wrong?
Methods were rewritten to give more flexibility. From the Hans' explanation:
\startquote
[pzm][mc] = [plus|zero|minus offsets][mapping|cases]
uc == unicode order
ok, a bit cryptic but one can now choose methods more
=big,
%spaceafter=big, % spaceafter is spacebefore by default
]
\starttext
\input knuth
\quotation{I'm a quoteted text \quotation{within another quoteted text}
and back.}
\startquote
\input knuth
\stopquote
\input knuth
\stoptext
Wolfgang
=,
before={\blank[big]},
after={\blank[big]}]
\starttext
\input knuth
\quotation{I'm a quoteted text \quotation{within another quoteted text} and
back.}
\startquote
\input knuth
\stopquote
\input knuth
\stoptext
Wolfgang
]\blank[big]},
after={\stopnarrower\blank[big]}]
This gives you the commands
\startquote-\stopquote
Just edit the definition to get the effect you want. And/or make new ones!
Note that ConTeXt by default is rather bland. The defaults are not
intended as some typographic ideal, in contrast
On Mon, 14 Aug 2006, Aditya Mahajan wrote:
And what would be the opposite?
For example \startquote ... \stopquote
to something like {\MyQuote ... }
AFAIK, there is no easy way to do this.
One can use \aftergroup trickery.
\def\MyQuote{\symbol[leftquote]\aftergroup\endMyQuote}
\def
Am 13.08.2006 um 15:29 schrieb Steffen Wolfrum:
And what would be the opposite?
For example \startquote ... \stopquote
to something like {MyQuote ... }
Steffen
\def\MyQuote#1{\startquote#1\stopquote}
\MyQuote{something to be quoted}
... should work OK, right?
Steffen
And what would be the opposite?
For example \startquote ... \stopquote
to something like {\MyQuote ... }
AFAIK, there is no easy way to do this.
Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
this
\def\startfootnote%
{\unskip\dosingleempty\dostartfootnote}
\def\dostartfootnote[#1]#2\stopfootnote%
{\footnote[#1]{#2}}
And what would be the opposite?
For example \startquote ... \stopquote
to something like {MyQuote ... }
Steffen
that people can answer to mails they know the answer to :)
the first one:
the first step to upgrade context is:
--\startquote---
Fix texmf.cnf
Now first you have to fix texmf.cnf as supplied with teTeX:
# vi /usr/local/teTeX/share/texmf/web2c
hi there,
my second question, is more like asking for pointers...
where can i read more about fmtutil, and how come that
context does not use it when (i assume) pdftex does?
--\startquote---
Cleanup fmtutil
Optionally, you can remove ConTeXt
frantisek holop wrote:
the first step to upgrade context is:
--\startquote---
Fix texmf.cnf
--\stopquote
i deliberately skipped this one, and the new context worked without it.
what does
Willi
--\startquote---
Cleanup fmtutil
Optionally, you can remove ConTeXt support from teTeX's configuration,
because ConTeXt does not use fmtutil.
Using
# fmtutil-sys --edit
you can comment out the lines for metafun,cont-en, and mptopdf
And you can
] % does not indent
%\setupindenting[medium,next] % need both to indent
\definestartstop
[quote]
[before={\startnarrower[1*middle]\blank[big]},
after={\stopnarrower\blank[big]}]
\starttext
\input knuth
\startquote
\input knuth
\stopquote
\input knuth
\stoptext
===
===
\setupoutput[pdftex]%
\definestartstop
[quote]
[before={\startnarrower[1*left,1*right]\blank[big]},
after={\stopnarrower\blank[big]}]
\starttext
\startquote
\input knuth \inmargin{This is a test.}
\stopquote
\stoptext
\inmargin#1{{\parindent0pt\normalinmargin{#1}}}
\definestartstop
[quote]
[before={\startnarrower[1*left,1*right]\blank[big]},
after={\stopnarrower\blank[big]}]
\starttext
\startquote
\input knuth \inmargin{This is a test.}
\input knuth {\parindent0pt\inmargin{This is a test.}}
\stopquote
26 matches
Mail list logo